import { GameBetOrderInfo } from "./GameBetOrderInfo";

export class UserGameData {

    public coins: number = 10000;

    public diamond: number = 0;

    public nickname: string = "";

    public tili:number = 100;

    /**
     * 单个玩家所有下注订单
     *
     * @type {GameBetOrderInfo[]}
     * @memberof UserGameData
     */
    public orders: GameBetOrderInfo[] = [];

    /**
     * 当前在哪个游戏房里
     *
     * @type {string}
     * @memberof UserGameData
     */
    public roomId: string = "";
   
    /**
     * 背包
     *
     * @type {{ id: number, count: number }[]}
     * @memberof UserGameData
     */
    public items: { id: number, count: number }[] = [];
}